How to clear out a set in python

50

mySet = {1, 2, 3}
mySet.clear()
print(mySet)

# Output:
# set()

Comments

Submit
0 Comments